import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { TypeOrmCrudService } from '@nestjsx/crud-typeorm';
import { OrderGoods } from '../../entities/order_goods.entities';
import { Repository } from 'typeorm';

@Injectable()
export class OrderGoodsService extends TypeOrmCrudService<OrderGoods>{
  constructor(@InjectRepository(OrderGoods) public repo:Repository<OrderGoods>) {
    super(repo);
  }
}
